import {PARAMS} from '@/api/http';
import WxMaSubscribeMessage from './wxMaSubscribeMessage';
import WxMpTemplateMessage from './wxMpTemplateMessage';

/**
 * 微信消息发送请求
 */
export default class WxMessageSendRequest {
  /**
   * 选择全部用户
   */
  public selectAllUser: boolean = false;
  /**
   * 选择全部用户搜索参数
   */
  public searchParams: PARAMS = {};
  /**
   * openId列表
   */
  public openIds: string[] = [];
  /**
   * 消息数据
   */
  public msg!: WxMaSubscribeMessage | WxMpTemplateMessage;
}
